<script type="text/javascript" src="manage/enumerable/enumManage.js" charset="utf-8" ></script>
<form id="enumForm" class="init ccay-form">
	<div class="ccay-form-body">
		<ul>
			<li class="ccay-form-row">
				<samp class="i18n" i18nKey="ccay.enum.label.type" ></samp>
				<span class="ccay-form-input">
				   <input type="text" class="init ccay-combobox" name="type" 
				   service="REST:services/manage/enums/findAllEnumType" 
				   valueField="value" 
				   displayField="key" />
				</span>
			</li>
			<li class="ccay-form-row">	    
				<samp class="i18n" i18nKey="ccay.enum.label.name" ></samp>
				<span class="ccay-form-input">
				   <input type="text" name="name" maxlength="200" />
				</span>
			</li>
			<li class="ccay-form-row">	    
				<samp class="i18n" i18nKey="ccay.enum.label.value" ></samp>
				<span class="ccay-form-input">
				   <input type="text" name="value" maxlength="200" />
				</span>
			</li>
			<li class="ccay-form-row">	    
				<samp class="i18n" i18nKey="ccay.enum.label.displayValue" ></samp>
				<span class="ccay-form-input">
				   <input type="text" name="displayValue" maxlength="200" />
				</span>
			</li>
			<li class="ccay-form-row">	    
				<samp class="i18n" i18nKey="ccay.enum.label.index" ></samp>
				<span class="ccay-form-input">
				   <input type="text" class="digits" name="index" maxlength="4" />
				</span>
			</li>
			<li class="ccay-form-row">	    
				<samp class="i18n" i18nKey="ccay.enum.label.source" ></samp>
				<span class="ccay-form-input">
				   <input type="text" name="source" class="init ccay-combobox" service="ENUM:SourceEnum" />
				</span>
			</li>
		</ul>
	</div>
	<!--条件按钮区域-->
	<div class="ccay-operate">
 		<span id="btnEnumSearch" class="default ccay-button">
 			<a class="ccay-icon search"></a>
 			<label class="i18n" i18nkey="ccay.common.button.search"></label>
 		</span>
		<span class="init button ccay-button reset">
			<a class="ccay-icon reset"></a>
			<label class="i18n" i18nkey="ccay.common.button.reset"></label>
		</span>
	</div>
</form>

<div class="ccay-grid">
    <div class="ccay-grid-toolbar">
    	<span id="btnAdd" class="ccay-button hasPermission" ccayPermission="enumManagement:create">
			<a class="ccay-icon add"></a>
			<label class="i18n" i18nKey="ccay.common.button.gridAdd"></label>
		</span>
    	<span id="btnDelete" class="ccay-button hasPermission" ccayPermission="enumManagement:delete" >
			<a class="ccay-icon pre-del"></a>
			<label class="i18n" i18nKey="ccay.common.button.gridDelete"></label>
		</span>
		<span id="btnUndoDel" class="ccay-button hasPermission" ccayPermission="enumManagement:delete">
			<a class="ccay-icon undel"></a>
			<label class="i18n" i18nKey="ccay.common.button.gridUndoDelete"></label>
		</span>
		<span id="btnSave" class="ccay-button hasPermission" ccayPermission="enumManagement:create | enumManagement:delete | enumManagement:update">
			<a class="ccay-icon save"></a>
			<label class="i18n" i18nKey="ccay.common.button.gridSave"></label>
		</span>
    </div>
	<!--数据表格-->
	<div id="enumItemGrid" ></div>
</div>	




